# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=cisco-scanner
pkgver=0.2
pkgrel=3
groups=('blackarch' 'blackarch-cracker' 'blackarch-scanner')
pkgdesc='Multithreaded Cisco HTTP vulnerability scanner. Tested on Linux, OpenBSD and Solaris.'
arch=('x86_64' 'aarch64')
url='http://wayreth.eu.org/old_page/'
license=('custom:unknown')
source=('https://web.archive.org/web/20190903044318/http://wayreth.eu.org/cisco_scanner.c')
sha512sums=('fb78cfc64af7a18aaaf3a6c8ca1d11905c4dfc6cf02935a9676028e06f0a54d57ea8edbe6e6ce7834d82c1fa43a6e1be3dd4f4f018abbaf545318622afe01ee6')

build() {
  gcc cisco_scanner.c -o $pkgname -lpthread
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

